
export function navigate(url:string) {
  if (url) {
    uni.navigateTo({
      url,
    });
  }
}

export function switchTab(url:string) {
  if (url) {
    uni.switchTab({
      url,
    });
  }
}
